home *** CD-ROM | disk | FTP | other *** search
- //--------------------------------------------------------------
- //
- // Supplier.dmd - Mugs Sample Application
- //
- // Supplier Data Module for the Supplier data entry form.
- //
- // Dependencies: MUGS.CDM
- // COUTNRY.DBF
- // SUPPLIER.DBF
- // STATE.DBF
- //
- // Visual dBASE Samples Group
- //
- // $Revision: 1.5 $
- //
- // Copyright (c) 1997, Borland International, Inc.
- // All rights reserved.
- //
- //---------------------------------------------------------------
- ** END HEADER -- do not remove this line
- //
- // Generated on 10/13/97
- //
- class supplierDataModule of MUGSDATAMODULE from "mugs.cdm"
-
-
- this.COUNTRY1 = new QUERY()
- this.COUNTRY1.parent = this
- with (this.COUNTRY1)
- left = 2
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "country.dbf"'
- active = true
- endwith
-
-
- this.STATE1 = new QUERY()
- this.STATE1.parent = this
- with (this.STATE1)
- left = 6
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "STATE.DBF"'
- active = true
- endwith
-
-
- this.SUPPLIER1 = new QUERY()
- this.SUPPLIER1.parent = this
- with (this.SUPPLIER1)
- left = 10
- top = 3
- database = form.dbmugs
- sql = 'SELECT * FROM "SUPPLIER.DBF"'
- active = true
- endwith
-
-
- with (this.SUPPLIER1.rowset)
- fields["Country ID"].lookupSQL = 'SELECT country."Country ID", country FROM "country.dbf" country'
- endwith
-
- endclass
-